package com.ruoyi.syf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.syf.domain.RiskCheckRecord;
import com.ruoyi.syf.domain.vo.RiskCheckVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface RiskCheckRecordMapper extends BaseMapper<RiskCheckRecord> {

    List<RiskCheckVo> list(RiskCheckVo vo);

    RiskCheckVo getInfo(Long id);

    //根据任务id查询最新的排查时间
    Date getBeginCheckTimeByTaskId(Long taskId);

    public int deleteByIds(Long[] ids);

    /**
     * 上报
     */
    List<Map<String,Object>> escalation();

}
